
namespace ZR.Model.ProdManage
{
    /// <summary>
    /// 三级装箱明细
    /// </summary>
    [SugarTable("prod_three_pack_detail")]
    public class ProdThreePackDetail
    {
        /// <summary>
        /// 明细Id 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "detail_id")]
        public string DetailId { get; set; }

        /// <summary>
        /// 三级装柜id 
        /// </summary>
        [SugarColumn(ColumnName = "three_pack_id")]
        public string ThreePackId { get; set; }

        /// <summary>
        /// 装柜时间 
        /// </summary>
        [SugarColumn(ColumnName = "pack_time")]
        public DateTime? PackTime { get; set; }

        /// <summary>
        /// 装柜人 
        /// </summary>
        [SugarColumn(ColumnName = "pack_user_id")]
        public long? PackUserId { get; set; }

        /// <summary>
        /// 明细状态（0临时，1正常，9取消） 
        /// </summary>
        [SugarColumn(ColumnName = "item_status")]
        public string ItemStatus { get; set; }

        /// <summary>
        /// 装箱类型(0一级箱,1零件) 
        /// </summary>
        [SugarColumn(ColumnName = "pack_type")]
        public string PackType { get; set; }

        /// <summary>
        /// 物料号 
        /// </summary>
        [SugarColumn(ColumnName = "part_code")]
        public string PartCode { get; set; }

        /// <summary>
        /// 供应商 
        /// </summary>
        [SugarColumn(ColumnName = "supplier_code")]
        public string SupplierCode { get; set; }

        /// <summary>
        /// 包装数量 
        /// </summary>
        [SugarColumn(ColumnName = "pack_num")]
        public decimal? PackNum { get; set; }

        /// <summary>
        /// 检测状态(未检、合格、不合格) 
        /// </summary>
        [SugarColumn(ColumnName = "check_status")]
        public string CheckStatus { get; set; }

        /// <summary>
        /// 检测人 
        /// </summary>
        [SugarColumn(ColumnName = "check_user")]
        public long? CheckUser { get; set; }

        /// <summary>
        /// 检测时间 
        /// </summary>
        [SugarColumn(ColumnName = "check_time")]
        public DateTime? CheckTime { get; set; }

        /// <summary>
        /// 二级包装编号 
        /// </summary>
        [SugarColumn(ColumnName = "two_pack_no")]
        public string TwoPackNo { get; set; }

        /// <summary>
        /// 原始清单包装编号(二级车身件相关使用) 
        /// </summary>
        [SugarColumn(ColumnName = "ori_two_pack_no")]
        public string OriTwoPackNo { get; set; }

    }
}